
package com.gdziarmaga.webshopwebservices;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="bookDetail" maxOccurs="unbounded">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="issue_year" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                   &lt;element name="short_description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="long_description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="pages" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                   &lt;element name="publisher" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="price" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "bookDetail"
})
@XmlRootElement(name = "listBooksBySectionResponse")
public class ListBooksBySectionResponse {

    @XmlElement(required = true)
    protected List<ListBooksBySectionResponse.BookDetail> bookDetail;

    /**
     * Gets the value of the bookDetail property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the bookDetail property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getBookDetail().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ListBooksBySectionResponse.BookDetail }
     * 
     * 
     */
    public List<ListBooksBySectionResponse.BookDetail> getBookDetail() {
        if (bookDetail == null) {
            bookDetail = new ArrayList<ListBooksBySectionResponse.BookDetail>();
        }
        return this.bookDetail;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="issue_year" type="{http://www.w3.org/2001/XMLSchema}int"/>
     *         &lt;element name="short_description" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="long_description" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="pages" type="{http://www.w3.org/2001/XMLSchema}int"/>
     *         &lt;element name="publisher" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="price" type="{http://www.w3.org/2001/XMLSchema}float"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "title",
        "issueYear",
        "shortDescription",
        "longDescription",
        "pages",
        "publisher",
        "price"
    })
    public static class BookDetail {

        @XmlElement(required = true)
        protected String title;
        @XmlElement(name = "issue_year")
        protected int issueYear;
        @XmlElement(name = "short_description", required = true)
        protected String shortDescription;
        @XmlElement(name = "long_description", required = true)
        protected String longDescription;
        protected int pages;
        @XmlElement(required = true)
        protected String publisher;
        protected float price;

        /**
         * Gets the value of the title property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getTitle() {
            return title;
        }

        /**
         * Sets the value of the title property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setTitle(String value) {
            this.title = value;
        }

        /**
         * Gets the value of the issueYear property.
         * 
         */
        public int getIssueYear() {
            return issueYear;
        }

        /**
         * Sets the value of the issueYear property.
         * 
         */
        public void setIssueYear(int value) {
            this.issueYear = value;
        }

        /**
         * Gets the value of the shortDescription property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getShortDescription() {
            return shortDescription;
        }

        /**
         * Sets the value of the shortDescription property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setShortDescription(String value) {
            this.shortDescription = value;
        }

        /**
         * Gets the value of the longDescription property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getLongDescription() {
            return longDescription;
        }

        /**
         * Sets the value of the longDescription property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setLongDescription(String value) {
            this.longDescription = value;
        }

        /**
         * Gets the value of the pages property.
         * 
         */
        public int getPages() {
            return pages;
        }

        /**
         * Sets the value of the pages property.
         * 
         */
        public void setPages(int value) {
            this.pages = value;
        }

        /**
         * Gets the value of the publisher property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPublisher() {
            return publisher;
        }

        /**
         * Sets the value of the publisher property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPublisher(String value) {
            this.publisher = value;
        }

        /**
         * Gets the value of the price property.
         * 
         */
        public float getPrice() {
            return price;
        }

        /**
         * Sets the value of the price property.
         * 
         */
        public void setPrice(float value) {
            this.price = value;
        }

    }

}
